body {
    background-color: #f2f2f2;
    -webkit-tap-highlight-color: transparent;
}
.layout {
    margin-top: 90/37.5rem;
    .header {
        width: 100%;
        height: 90/37.5rem;
        text-align: center;
        line-height: 90/37.5rem;
        font-size: 34/37.5rem;
        color: #1f1f1f;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        .backArrow {
            width: 40/37.5rem;
            height: 90/37.5rem;
            background: url("../../img/back_B@3x.png") no-repeat left center;
            background-size: 60/37.5rem 60/37.5rem;
            position: absolute;
            top: 0;
            left: 025/37.5rem;
        }
    }
    .classifyPic {
        width: 100%;
        height: 230/37.5rem;
        img {
            display: block;
            width: 100%;
        }
    }
    .sortBtn {
        width: 440/37.5rem;
        height: 58/37.5rem;
        background: #fff;
        border-radius: 25px;
        overflow: hidden;
        margin: 60/37.5rem auto;
        ul {
            li {
                float: left;
                a {
                    display: block;
                    height: 58/37.5rem;
                    text-align: center;
                    line-height: 58/37.5rem;
                    color: #1f1f1f;
                    font-size: 27/37.5rem;
                }
            }
            .goodbtn {
                width: 150/37.5rem;
            }
            .sellBtn {
                width: 140/37.5rem;
            }
            .priceBtn {
                width: 150/37.5rem;
            }
            .actived {
                background-color: #ffd11a;
            }
        }
    }
    .productList {
        padding: 0 35/37.5rem;
        box-sizing: border-box;
        .productItem {
            float: left;
            width: 320/37.5rem;
            height: 520/37.5rem;
            margin-right: 40/37.5rem;
            margin-bottom: 40/37.5rem;
            box-shadow: 0px 0px 10px #ccc;
            background-color: #fff;
            .productPic {
                width: 320/37.5rem;
                height: 320/37.5rem;
                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }
            .productName {
                width: 100%;
                padding: 0 20/37.5rem;
                box-sizing: border-box;
                text-align: center;
                font-size: 28/37.5rem;
                color: #1f1f1f;
                margin-top: 30/37.5rem;
                overflow:hidden; 
                text-overflow:ellipsis;
                display:-webkit-box; 
                -webkit-box-orient:vertical;
                -moz-box-orient:vertical;
                -webkit-line-clamp:1;
            }
            .price {
                font-size: 32/37.5rem;
                text-align: center;
                color: #ffa31a;
                font-weight: 700;
                margin-top: 25/37.5rem;
            }
            .like {
                font-size: 24/37.5rem;
                color: #8a8a8a;
                text-align: center;
                margin-top: 10/37.5rem;
                span {
                    color: #ffa31a;
                }
            }
        }
        .productItem:nth-of-type(2n) {
            margin-right: 0;
        }
        .end {
            width: 420/37.5rem;
            margin: 0 auto;
            display: none;
            img {
                width: 100%;
            }
        }
    }
}